body {
  background-color: #131414;
}

/* h5低版本浏览兼容 */
:root {
  --safe-area-inset-bottom: 0px;
}

/* #ifdef H5 */
:root {
  --safe-area-inset-bottom: 0px;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  :root {
    --safe-area-inset-bottom: env(safe-area-inset-bottom);
  }
}
/* #endif */

/* #ifndef H5 */
:root {
  --safe-area-inset-bottom: env(safe-area-inset-bottom);
}
/* #endif */

.h-full {
  height: 100vh;
  /* #ifdef H5 */
  height: calc(100vh - 44px);  /* H5端减去导航栏高度 */
  /* #endif */
  
  /* #ifdef MP-WEIXIN */
  height: 100vh;  /* 小程序端自动处理了导航栏高度 */
  /* #endif */
}
.mh-100vh {
  min-height: 100vh;
  /* #ifdef H5 */
  min-height: calc(100vh - 44px);  /* H5端减去导航栏高度 */
  /* #endif */
  
  /* #ifdef MP-WEIXIN */
  min-height: 100vh;  /* 小程序端自动处理了导航栏高度 */
  /* #endif */
}
.flex1 {
  flex: 1;
}
.ml16 {
  margin-left: 16rpx;
}
.mr16 {
  margin-right: 16rpx;
}

/*checkbox 选项框大小  */
uni-checkbox {
  .uni-checkbox-input {
    width: 32rpx !important;
    height: 32rpx !important;
  }
  .uni-checkbox-wrapper {
    display: block;
  }
}

.global-tab-list {
  display: flex;
  align-items: center;
  gap: 66rpx;
  .tab-item {
    font-size: 32rpx;
    line-height: 44rpx;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    padding-bottom: 22rpx;
    position: relative;
    &::after {
      content: '';
      width: 100%;
      height: 6rpx;
      background: linear-gradient( 90deg, #61DDFD 0%, rgba(97,221,253,0) 100%);
      position: absolute;
      bottom: 0;
      left: 0;
      border-radius: 6rpx;
      display: none;
    }
    &.active {
      color: #fff;
      &::after {
        display: block;
      }
    }
  }
}

.global-list-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 84rpx;
  .global-list-empty-icon {
    width: 220rpx;
    height: 200rpx;
    display: block;
  }
  .global-list-empty-text {
    padding-top: 20rpx;
    font-size: 24rpx;
    line-height: 34rpx;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
  }
}

// 重置toast样式
.uni-simple-toast__text {
  background: rgba(255,255,255,0.8);
  color: #000000;
}